
include_directories (${CMAKE_CURRENT_SOURCE_DIR}/include) 

IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
    # Linux specific code
    SET(OperatingSystem "Linux")
    include_directories (${CMAKE_CURRENT_SOURCE_DIR}/include/os/linux)
ENDIF(${CMAKE_SYSTEM_NAME} MATCHES "Linux")

add_library (hts hts.c htsmsg.c)

add_executable(test_htsmsg test/htsmsg.c test/samples.c)
target_link_libraries(test_htsmsg hts)